/**
 *
 * The <code>ColorMaterial</code> class create an normal colored Material
 * 
 * @author Tiago Diaz, tiagoadp@gmail.com
 * @release 20/11/2009
 * @version 1.0
 * 
 */

package org.flash3d.materials.basic
{
	import org.flash3d.core.materials.Material;
	
	public class ColorMaterial extends Material
	{
		public function ColorMaterial(_color:uint=0xFFFFFF,_alpha:int=1.0)
		{
			_material.type = 'Color';
			_material.texture = _color;
			_material.alpha = _alpha;
		}
	}
}